// pages/user/userCenterNew/comps/userOrder/userOrder.js
Component({
    /**
     * 组件的属性列表
     */
    properties: {
        orderInfo: Object
    },

    /**
     * 组件的初始数据
     */
    data: {

    },

    /**
     * 组件的方法列表
     */
    methods: {
        goOrderCenter: function(e) {
            wx.navigateTo({
                url: '/pages/order/orderCenter/orderCenter?orderType=' + e.currentTarget.dataset.type
            })
        },
        goCommentList: function() {
            wx.navigateTo({
                url: '/pages/order/orderCenter/orderCenter?orderType=4'
            })
        },
        goRefundList: function() {
            wx.navigateTo({
                url: '/pages/order/refundList/refundList'
            })
        }
    }
})